﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sundstrom.Mvvm.Validation
{
    public sealed class ValidationGroupAttribute : Attribute
    {
        public ValidationGroupAttribute(string group)
        {
            if (string.IsNullOrEmpty(group))
                throw new ArgumentException("group");

            Group = group;
        }

        public string Group { get; private set; }
    }
}
